.btn-clear {
            background: #f0f0f0;
            color: #666;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-clear:hover {
            background: #e0e0e0;
        }
        
        .progress-container {
          width: 200px;
          height: 20px;
          background: #eee;
          border-radius: 10px;
          overflow: hidden;
          position: relative;
        }

        .progress-bar {
          height: 100%;
          background: linear-gradient(90deg, #4CAF50 0%, #FFC107 50%, #F44336 100%);
          transition: width 0.5s ease, transform 0.2s;
        }

        .progress-label {
          position: absolute;
          width: 100%;
          text-align: center;
          font-weight: bold;
          color: #333;
        }

        .slider-container {
          display: flex;
          align-items: center;
          gap: 15px;
          width: 300px;
        }

        .percentage-slider {
          flex: 1;
          height: 6px;
          background: #ddd;
          border-radius: 3px;
          outline: none;
          -webkit-appearance: none;
        }

        .percentage-slider::-webkit-slider-thumb {
          -webkit-appearance: none;
          width: 18px;
          height: 18px;
          background: #2196F3;
          border-radius: 50%;
          cursor: pointer;
          transition: background 0.2s;
        }

        .percentage-slider::-webkit-slider-thumb:hover {
          background: #1976D2;
        }

        /* 任务配置卡片的样式 */
        #taskConfig .form-group {
            margin-bottom: 20px;
        }

        #taskConfig .form-label {
            font-weight: bold;
            margin-bottom: 8px;
            display: block;
            color: #333;
        }

        #taskConfig .form-input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.3s ease;
        }

        #taskConfig .form-input:focus {
            border-color: #1890ff;
            outline: none;
        }

        #taskConfig .interval-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        #taskConfig .interval-group input {
            width: 80px;
        }

        #taskConfig .form-text {
            color: #666;
            font-size: 12px;
            margin-top: 4px;
        }

        #taskConfig .btn-primary {
            background-color: #1890ff;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s ease;
        }

        #taskConfig .btn-primary:hover {
            background-color: #40a9ff;
        }

        #taskConfig .current-cost-container {
            display: flex;
            align-items: center;
            padding: 6px 12px;
            background: #f0f7ff;
            border-radius: 20px;
            color: #1890ff;
            font-size: 14px;
        }

        #taskConfig .current-cost-container span {
            margin-right: 6px;
        }

        #taskConfig .current-cost-container #currentCost {
            font-weight: 500;
        }

        .logs-container {
            height: 300px;
            overflow-y: auto;
            background: #f8f9fa;
            padding: 10px;
            border-radius: 4px;
            font-family: monospace;
        }

        .log-entry {
            margin: 5px 0;
            padding: 5px;
            border-radius: 3px;
        }

        .log-info { color: #0d6efd; }
        .log-error { color: #dc3545; }
        .log-warn { color: #ffc107; }

        .log-timestamp {
            color: #6c757d;
            font-size: 0.85em;
            margin-right: 8px;
        }

        .text-input-config {
            margin-top: 10px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            width: 100%;
            box-sizing: border-box;
        }

        .option-row {
            display: flex;
            flex-direction: column;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 8px;
            background-color: #f8f9fa;
        }

        .option-main {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            width: 100%;
        }

        .text-answers-header {
            font-size: 14px;
            color: #666;
            margin-bottom: 12px;
            padding-left: 5px;
        }

        .text-answers-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 12px;
        }

        .text-answer-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            width: 100%;
        }

        .text-answer {
            flex: 1;
            min-height: 60px;
            resize: vertical;
            padding: 12px 15px;
            border: 2px solid #e8e8e8;
            border-radius: 8px;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
            background-color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }

        .text-answer:hover {
            border-color: #d0d0d0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
        }

        .text-answer:focus {
            border-color: #40a9ff;
            outline: none;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
            background-color: #fafafa;
        }

        .text-answer::placeholder {
            color: #bfbfbf;
            font-style: italic;
        }

        .text-input-badge {
            background-color: #e6f7ff;
            color: #1890ff;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            margin-left: 10px;
            border: 1px solid #91d5ff;
        }

        .btn-small {
            padding: 4px 8px;
            font-size: 12px;
        }

        .btn-error {
            background-color: #dc3545;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .btn-error:hover {
            background-color: #c82333;
        }

        .history-section {
            margin-top: 30px;
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }

        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f0f0;
        }

        .history-header h3 {
            font-size: 16px;
            color: #333;
            margin: 0;
            font-weight: 600;
        }

        .clear-history-btn {
            background: none;
            border: none;
            color: #ff4d4f;
            font-size: 14px;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
        }

        .clear-history-btn:hover {
            background: #fff1f0;
        }

        .history-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .history-item {
            display: flex;
            align-items: center;
            padding: 12px;
            background: #fafafa;
            border-radius: 8px;
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid #f0f0f0;
        }

        .history-item:hover {
            background: #f0f7ff;
            border-color: #91caff;
            transform: translateY(-1px);
        }

        .history-item-icon {
            width: 32px;
            height: 32px;
            background: #e6f4ff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            color: #1890ff;
        }

        .history-item-content {
            flex: 1;
            overflow: hidden;
        }

        .history-item-title {
            font-size: 14px;
            color: #333;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .history-item-url {
            font-size: 12px;
            color: #666;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .history-item-time {
            font-size: 12px;
            color: #999;
            margin-left: 12px;
            white-space: nowrap;
        }

        .empty-history {
            text-align: center;
            padding: 30px;
            color: #999;
            font-size: 14px;
        }
        
        /* 信效度检验相关样式 */
        .reliability-questions-container {
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 10px;
            margin-top: 10px;
            background-color: #fff;
        }
        
        .reliability-question-item {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .reliability-question-item:last-child {
            border-bottom: none;
        }
        
        .reliability-question-item label {
            margin-left: 8px;
            flex: 1;
            cursor: pointer;
        }
        
        .reliability-question-item input[type="checkbox"] {
            cursor: pointer;
        }
        
        .reliability-results {
            margin-top: 15px;
            background: #fff;
            border-radius: 8px;
            padding: 15px;
            border: 1px solid #e8e8e8;
        }
        
        .reliability-result-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .reliability-result-item:last-child {
            margin-bottom: 0;
        }
        
        .result-label {
            width: 150px;
            font-weight: 500;
            color: #333;
        }
        
        .result-value {
            font-weight: bold;
            color: #1890ff;
            margin: 0 10px;
        }
        
        .result-interpretation {
            font-size: 12px;
            color: #666;
        }
        
        .result-good {
            color: #52c41a;
        }
        
        .result-moderate {
            color: #faad14;
        }
        
        .result-poor {
            color: #f5222d;
        }
        
        .empty-message {
            text-align: center;
            padding: 20px;
            color: #999;
            font-style: italic;
        }

        /* 选项分值设置相关样式 */
        .score-settings-container {
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .option-score {
            display: none;
            align-items: center;
            margin: 0 15px;
            padding: 4px 8px;
            background: #f8f9fa;
            border-radius: 4px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .option-score.visible {
            display: flex;
        }

        .option-score label {
            margin-right: 8px;
            color: #666;
            font-size: 14px;
        }

        .score-input {
            width: 50px;
            padding: 4px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
            font-size: 14px;
        }

        .score-input:focus {
            border-color: #1890ff;
            outline: none;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
        }

        .option-row {
            display: flex;
            flex-direction: column;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 8px;
            background-color: #f8f9fa;
        }

        .option-text {
            flex: 1;
            margin-right: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .percentage-value {
            font-weight: bold;
            color: #2196F3;
            margin-left: 10px;
        }

        .reverse-score-option {
            margin-bottom: 15px;
            padding: 8px 12px;
            background: #fff7e6;
            border-radius: 4px;
            border: 1px solid #ffe7ba;
            display: flex;
            align-items: center;
            position: relative;
        }

        .reverse-score-option label {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #d46b08;
            font-size: 14px;
        }

        .reverse-score-option input[type="checkbox"] {
            margin-right: 8px;
        }

        .reverse-score-option .tooltip-text {
            margin-left: 12px;
            color: #666;
            font-size: 12px;
            font-style: italic;
        }
